/*
 * @Author: pengfei
 * @Description: 原有H5头部解析
 */
import DealRequest from '../interface/dealRequest.interface';
import unicore from '../core.service';
import core from '../core.service';
import store from '@/store';
export default class OldHeader implements DealRequest{
  encrapt(data:any){
    return data
  }
  decrapt(res:any,noshowToast?:boolean){
    return res;
  }
  getHeader(header?:any){
    return Object.assign({},header,{
      'Content-Type': 'application/json;charset=UTF-8;',
      'X_ClientToken': unicore.config.X_ClientToken,
	  'X_GwApiToken': unicore.config.X_GwApiToken
    })
  }
}